package top.jlzhou.test_data.city;

import top.jlzhou.test_data.city.imp.CityServiceImp;

public abstract class CityService {
	
	private static CityService service;
	static{
		service = new CityServiceImp();
	}
	
	public static CityService getService() {
		return service;
	}
	
	/**
	 * 随机取得一个国内地址
	 * @return
	 * @throws Exception 
	 */
	public abstract String randomAddress() throws Exception;
	
}
